package org.example.service.impl;

import org.example.entity.Company;
import org.example.mapper.CompanyMapper;
import org.example.service.CompanyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName CompanyServiceImpl
 * @Description TODO
 * @Author qiuye
 * @Date 2025年08月14日 14:39
 * @Version 1.0
 */
@Service
public class CompanyServiceImpl implements CompanyService {
    @Autowired
    private CompanyMapper companyMapper;

    @Override
    public Company getCompany(int id) {
        Company company = companyMapper.getCompany(id);
        return company;
    }
}

